package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.SubpackCotRateDao;
import top.infopub.model.bpa.SubpackCotRate;
import top.infopub.mgr.bpa.service.SubpackCotRateService;

@Service
public class SubpackCotRateServiceImpl extends GenericServiceImpl<SubpackCotRate, String> implements
		SubpackCotRateService {

	@Autowired
	private SubpackCotRateDao subpackCotRateDao;
	
	@Override
	public GenericDao<SubpackCotRate, String> getDao() {
		return subpackCotRateDao;
	}

    @Override
    public List<SubpackCotRate> selectBySubpackCotId(String subpackCotId) {
        return subpackCotRateDao.selectBySubpackCotId(subpackCotId);
    }

}